<template>
  <div class="home">
    <el-container class="home-container">
      <el-header>
        <common-header></common-header>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <common-aside></common-aside>
        </el-aside>
        <el-container>
          <el-main>
            <router-view></router-view>
          </el-main>
        </el-container>
      </el-container>
      <el-footer>
        <common-footer></common-footer>
      </el-footer>
    </el-container>
  </div>
</template>
<script>
import CommonHeader from '../../components/common/Header'
import CommonFooter from '../../components/common/Footer'
import CommonAside from '../../components/common/Aside'
export default {
  components: {
    CommonHeader,
    CommonFooter,
    CommonAside
  }
}
</script>
<style lang="scss" scoped>
.home {
  height: 100%;
  .home-container {
    height: 100%;
  }
}
</style>
